package priv.cqq.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;
import priv.cqq.gateway.loadbalancer.DefaultServiceLoadBalancerConfig;

@EnableDiscoveryClient
@LoadBalancerClients(defaultConfiguration = DefaultServiceLoadBalancerConfig.class)
@SpringBootApplication
public class GatewayServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(GatewayServiceApplication.class, args);
    }
}
